<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/inc/taglibs.jsp"%>

<SCRIPT type="text/javascript">
$("#saveEntity").click(function(){
	$.ajax({
		cache: true,
		type: "POST",
		url: $('#entityForm').attr('action'),
		data:$('#entityForm').serialize(),
		async: false,
		error: function(error) {
		    alert("Connection error");
		},
		success: function(data) {
		    $("#main_main").html(data);
		}
	});
});
</SCRIPT>
<form id="entityForm" name="entityForm" action="<c:url value='/rms/administer/savePassword.do'/>">
	<input type="hidden" id="administer_id" name="id" value="${entity.id}"/>
	<table class="tableform" width="100%" cellspacing="0" cellpadding="0" border="0">
		<tbody>
		<tr>
			<td width="17%">
				用户名称：
				<font color="red">*</font>
			</td>
			<td width="83%">
				<div>
				<c:out value="${entity.username}"/>
				<span class="error_msg" style="display: inline;"> </span>
				</div>
			</td>
		</tr>
		<tr>
			<td width="17%">
				新密码：
				<font color="red">*</font>
			</td>
			<td width="83%">
				<div>
				<input id="password" class="w200" type="text" name="password" value="">
				<span class="error_msg" style="display: inline;"> </span>
				</div>
			</td>
		</tr>
		<tr>
			<td colspan="2">
			<input id="saveEntity" class="btn Borange fw7 mb20" type="button" value="保   存">
			</td>
		</tr>
		</tbody>
	</table>
</form>
